package org.jeecg.access.platform.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * @description: 微信公众号的接口调用凭证信息记录
 * @author: taogang
 * @date:   2025/7/10 14:45
 */
@Data
@TableName("wx_login_info")
public class WxLoginInfo implements BaseUserInfo,Serializable {
    private static final long serialVersionUID = 1L;

    /** 主键 **/
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private String id;
    /**  名称主要用于用户区分公众号**/
    @Column(name = "name")
    private String name;
    @Column(name = "app_id")
    private String appId;
    @Column(name = "secret")
    private String secret;
    @Column(name = "creator")
    private String creator;
    @Column(name = "create_time")
    private String createTime;
    @Column(name = "updater")
    private String updater;
    @Column(name = "update_time")
    private String updateTime;
    @Column(name = "state")
    private Integer state;
}
